package cn.bdqn.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "文章实体类", description = "这是用来描述一个类的信息")
public class Article implements Serializable {
    @ApiModelProperty(value = "主键", required = true, notes = "这是必须要填")
    private Long articleId;
    @ApiModelProperty(value = "医生id", required = true, notes = "这是必须要填")
    private Integer doctorId;
    @ApiModelProperty(value = "阅读量", notes = "阅读量")
    private Long readNum;
    @ApiModelProperty(value = "收藏", notes = "收藏量")
    private Long collectNum;
    @ApiModelProperty(value = "标题", notes = "标题")
    private String title;
    @ApiModelProperty(value = "摘要", notes = "摘要")
    private String articleAbstract;
    @ApiModelProperty(value = "一分类", required = true, notes = "一分类")
    private Integer classifyFirst;
    @ApiModelProperty(value = "二分类", notes = "二分类")
    private Integer classifySecond;
    @ApiModelProperty(value = "三分类", notes = "三分类")
    private Integer classifyThree;

    private Date creationdate;

    private Integer createdby;

    private Date modifydate;

    private Integer modifiedby;
    @ApiModelProperty(value = "内容", notes = "内容")
    private String content;

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Long getReadNum() {
        return readNum;
    }

    public void setReadNum(Long readNum) {
        this.readNum = readNum;
    }

    public Long getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(Long collectNum) {
        this.collectNum = collectNum;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getArticleAbstract() {
        return articleAbstract;
    }

    public void setArticleAbstract(String articleAbstract) {
        this.articleAbstract = articleAbstract == null ? null : articleAbstract.trim();
    }

    public Integer getClassifyFirst() {
        return classifyFirst;
    }

    public void setClassifyFirst(Integer classifyFirst) {
        this.classifyFirst = classifyFirst;
    }

    public Integer getClassifySecond() {
        return classifySecond;
    }

    public void setClassifySecond(Integer classifySecond) {
        this.classifySecond = classifySecond;
    }

    public Integer getClassifyThree() {
        return classifyThree;
    }

    public void setClassifyThree(Integer classifyThree) {
        this.classifyThree = classifyThree;
    }

    public Date getCreationdate() {
        return creationdate;
    }

    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    public Integer getCreatedby() {
        return createdby;
    }

    public void setCreatedby(Integer createdby) {
        this.createdby = createdby;
    }

    public Date getModifydate() {
        return modifydate;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public Integer getModifiedby() {
        return modifiedby;
    }

    public void setModifiedby(Integer modifiedby) {
        this.modifiedby = modifiedby;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}